using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes.DomainAttributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Enums;
using System.Collections.Generic;
using System.ComponentModel;

namespace Baci.ArcGIS._LocationReferencingTools._Configuration._LRSEvent
{
    /// <summary>
    /// <para>Disable Derived Measure Fields</para>
    /// <para>Disables fields that store the derived network route ID, route name, and measure fields.</para>
    /// <para>禁用存储派生网络路由 ID、路由名称和度量字段的字段。</para>
    /// </summary>    
    [DisplayName("Disable Derived Measure Fields")]
    public class DisableDerivedMeasureFields : AbstractGPProcess
    {
        /// <summary>
        /// 无参构造
        /// </summary>
        public DisableDerivedMeasureFields()
        {

        }

        /// <summary>
        /// 有参构造
        /// </summary>
        /// <param name="_in_feature_class">
        /// <para>LRS Event Feature Class</para>
        /// <para>An existing event feature class or feature layer that is registered to an LRS.</para>
        /// <para>注册到 LRS 的现有事件要素类或要素图层。</para>
        /// </param>
        public DisableDerivedMeasureFields(object _in_feature_class)
        {
            this._in_feature_class = _in_feature_class;
        }
        public override string ToolboxName => "Location Referencing Tools";

        public override string ToolName => "Disable Derived Measure Fields";

        public override string CallName => "locref.DisableDerivedMeasureFields";

        public override List<string> AcceptEnvironments => [];

        public override object[] ParameterInfo => [_in_feature_class, _out_feature_class];

        /// <summary>
        /// <para>LRS Event Feature Class</para>
        /// <para>An existing event feature class or feature layer that is registered to an LRS.</para>
        /// <para>注册到 LRS 的现有事件要素类或要素图层。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("LRS Event Feature Class")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _in_feature_class { get; set; }


        /// <summary>
        /// <para>Updated Input Feature Class</para>
        /// <para></para>
        /// <para></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Updated Input Feature Class")]
        [Description("")]
        [Option(OptionTypeEnum.derived)]
        public object _out_feature_class { get; set; }


        public DisableDerivedMeasureFields SetEnv()
        {
            base.SetEnv();
            return this;
        }

    }

}